<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>ACSystem</title>
<link href="<?echo base_url();?>css/main_view.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="carrier">
	<div id="login">
		<?
			echo anchor('user/registration','Registration');
		?>
	</div>
    <div id="header">ACSystem (Automat Control System)</div>
    <div id="content">
	<?
		echo form_open('user/login');
	?>
	<div id="login_fields">
		<?
		if($message != '')
		{
			echo '<label class="error-message">'.$message."</label></br></br>";
		}
		?>
		<label>Username:</label></br>
		<input type="text" name="username" id="username" /> </br>
		<label>Password:</label></br>
		<input type="password" name="password" id="password" /> </br>
		<input type="submit" name="submit" id="submit" value="Login"/>
	</div>
	<?
		echo form_close();
	?>
    </div>
    <div id="footer">
		<p>&copy;&nbsp; SPRm-11. All rights reserved.</p>
    </div>
  </div>
</body>
</html>